<!-- addEditReply.html 2018-07-09 21:03:38-->
#@HplusLayout()
#define cssStyle()
#end
#define content()
<div style="padding:10px;height: 100%">
	<form method="post" class="form-horizontal required-validate" action="saveReply" novalidate="novalidate" onsubmit="return validateCallback(this,listDialogAjaxDone)">
		<input type="hidden" name="messageReply.id" value="#(messageReply.id)"/>
		
				<div class="form-group">
				<label class="col-xs-3 control-label">名称：</label>
				<div class="col-xs-8">
	<input type="text" class="form-control required" name="messageReply.name" value="#(messageReply.name)"/>
				</div>
		</div>
		<div class="form-group">
				<label class="col-xs-3 control-label">回复类型：</label>
				<div class="col-xs-8">
	<select name="messageReply.type" class="form-control required">
		
		#(data("WEIXIN_MESSAGE_REPLY_TYPE","option",messageReply.type))
	</select>
				</div>
		</div>
		<div class="form-group">
				<label class="col-xs-3 control-label">内容：</label>
				<div class="col-xs-8">
	<textarea name="messageReply.content" class="form-control required">#(messageReply.content)</textarea>
					<p style="color:red;padding-top:10px">文本类型直接填写文本内容，其它填写MediaId</p>
				</div>
		</div>
		<div class="form-group">
			<div class="col-xs-8 col-xs-offset-3">
				<button type="submit" class="btn btn-primary">保存</button>
			</div>
		</div>
	</form>
</div>
#end
#define js()
<script src="#(res_path)/hplus/js/plugins/validate/jquery.validate.min.js"></script>
<script src="#(res_path)/hplus/js/plugins/validate/messages_zh.min.js"></script>
#end
#define jsFunction()
<script>
$(function(){
});
</script>
#end
